<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><strong>合同详细信息</strong></title>
<link href="/estate/css/css.css" rel="stylesheet" type="text/css">
<script src="/estate/js/meizzDate.js"></script>
<script type="text/javascript">
	function updateContract(form){
		form.action="/estate/admin/contractAction.action?method=modify";
   		form.submit();
	}
</script>
</head>
<body>
<form name="form1" id="form1" method="post" action="">
<table border="0" cellpadding="0" cellspacing="0" style="background-image:url(/estate/images/gtbg.gif) " width="100%">
    <tr>
      <td width="50%" height="82" rowspan="2"><img src="/estate/images/guide_01.gif"></td>
      <td width="50%" style="background-image:url(/estate/images/guide_02.gif);color:#cc1212; font-size:16px; font-weight:bold; text-align:right; padding-right:50px; letter-spacing:1px; " height="39"><strong>合同管理</strong></td>
    </tr>
     <tr><td width="50%" style="background-image:url(/estate/images/guide_03.gif); height:43px;" align="center" valign="middle">
	  <table width="50%" border="0" cellspacing="0" cellpadding="0">
        <tr align="center">
          <td><input name="Submit1" type="submit" onFocus="this.blur();" class="button2" value="删除" > </td>
          <td><input type="submit" name="Submit2" onFocus="this.blur();" value="撤回" class="button2"> </td>
          <td><input type="submit" name="Submit3" onFocus="this.blur();" value="保存" class="button2"> </td>
          <td><input type="submit" name="Submit4" onFocus="this.blur();"  value="审核" class="button2"> </td>
		  <td><input type="submit" name="Submit4" onFocus="this.blur();" value="执行" class="button2"> </td>
		  <td><input type="button" name="Submit4" onFocus="this.blur();"  value="新建附票" class="button4" onClick="doit()"> </td>
		  <td><input type="submit" name="Submit4" onFocus="this.blur();" value="打印" class="button2"> </td>
		  <td><input type="submit" name="Submit4" onFocus="this.blur();" value="存档" class="button2"> </td>
        </tr>
      </table></td>
    </tr>
</table><br>
<table width="60%" align="center" border="0" cellspacing="0" cellpadding="0" class="main">
	<input type="hidden" name="id" value="${contractVo.id }"/>
  <tr align="center">
    <td colspan="6" class="tableTitle">合同</td>
  </tr>
  <tr>
 	<td width="10%" align="right" class="two">合同编号：</td>
    <td width="10%" class="two" align="left">&nbsp;<label class="input">${contractVo.number }</label></td>
  </tr>
  <tr>  
    <td width="20%"  align="right" class="two">合同名称：</td>
    <td width="20%"  class="two" align="left">&nbsp;<label class="input">${contractVo.name }</label></td>
  </tr>  
  <tr>
    <td width="20%"  align="right" class="two">合同类型：</td>
    <td width="20%"  class="two" align="left">&nbsp;<label class="input">${contractVo.type }</label></td>  
  </tr>
 
  
  <tr>
 	<td width="10%" align="right" class="two">客户名称：</td>
    <td width="10%" class="two" align="left">&nbsp;<label class="input">${contractVo.clientName }</label></td>
  </tr>  
  <tr>
    <td width="20%"  align="right" class="two">客户电话：</td>
    <td width="30%"  class="two" align="left">&nbsp;<label class="input">${contractVo.clientPhone }</label></td>
  </tr> 
  <tr> 
    <td width="20%"  align="right" class="two">合同金额(元)：</td>
    <td width="10%"  class="two" align="left">&nbsp;<label class="input">${contractVo.money }</label></td>  
  </tr>
  
  <tr>
 	<td width="10%" align="right" class="two">签署人：</td>
    <td width="10%" class="two" align="left">&nbsp;<label class="input">${contractVo.signUser.name }</label></td>
  </tr>
   <tr> 
    <td width="20%"  align="right" class="two">签署电话：</td>
    <td width="20%"  class="two" align="left">&nbsp;<label class="input">${contractVo.signPhone }</label></td>
   </tr>
   <tr> 
    <td width="20%"  align="right" class="two">签署地址：</td>
    <td width="20%"  class="two" align="left">&nbsp;<label class="input">${contractVo.signAddress }</label></td>
   </tr>
  
  <tr>
 	<td width="10%" align="right" class="two">签署日期：</td>
    <td width="10%" class="two" align="left">&nbsp;<label class="input">${contractVo.signDate }</label></td>
  </tr>
  <tr>
    <td width="20%"  align="right" class="two">签署状态：</td>
    <td width="20%"  class="two" align="left">&nbsp;<label class="input">${contractVo.signState }</label></td>
  </tr> 
  <tr>
    <td width="20%"  align="right" class="two">创建人：</td>
    <td width="20%"  class="two" align="left">&nbsp;<label class="input">${contractVo.createUser.name }</label></td>  
  </tr>
 
  <tr>
    <td  colspan="6"   height="16" colspan="2" class="two" align="center">
    	<input type="button" name="Submit2" onFocus="this.blur();" value="修改" class="button2" onclick="updateContract(form1)">
	</td>
  </tr>
  
</table><br>
</form>
</body>
<script language="javascript">
  function doit(){
    window.open('additional.htm','','')
  }
</script>
</html>